import Service from "@/service";

//通过参数获取数据
export function getDeptData(params: any) {
    return Service.get('/api/dept/getData', {params})
}

//保存部门信息
export function saveDeptData(params: any) {
    return Service.post('/api/dept/save', params)
}

//删除部门信息
export function delDeptData(params: string) {
    return Service.delete('/api/dept/del', {params})
}
